<ion-modal-view  ng-controller="dingdangController">
    <ion-header-bar class="bar-positive">
        <a ng-href="#/tab/personal" class="button">返回个人页面</a>
        <h1 class="title">订单详情</h1>
    </ion-header-bar>
        <ion-content>
            <div ng-repeat="order in orderList">
                <div class="col-sm-12" style="border: 1px solid">
                    <h3>订单号:{{order[0].order_id}}</h3>
                    <div class="col-sm-12" ng-repeat="product in order">
                        <p>订单详情id:{{product.orderdetail_id}}</p>
                        <p>订单商品id:{{product.book_id}}</p>
                        <p>商品名称:{{product.book_title}}</p>
                        <p>商品价格:{{product.book_price}}</p>
                        <p>订单商品数量:{{product.book_num}}</p>
                        <button class="shopcarbtn button button-assertive button-small" ng-click="moveOrder(orders.orderdetail_id)">删除订单信息</button>
                    </div>
                </div>
            </div>
        </ion-content>
</ion-modal-view>
